<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="__JS__/jQuery.js"></script>
</head>
<body>


<a href="{:url('Digui/get_can',array('id'=>1))}">服装</a>

<div class="kkk">

</div>
<div>
    <form action="" method="post" onsubmit="checkform()">
        <input type="text" name="hhh" class="jjj">
        <input type="submit">
    </form>
</div>

<script type="text/javascript">

    function checkform() {

        var jj = $('.jjj').val()
        if(jj == ''){
            alert('你的输入错误');
            return false;
        }
    }
//    $.getJSON('{:url("Digui/put_can")}',{'gaohan':'tangjie'},function (data) {
//        var str = '';
//        for(var i = 0;i< data.length;i++ ){
//            str += '<div class="xxx">' +
//                '<form action="#" method="post">' +
//                '<input type="text" name="s_id">' +
//                '<select name="f_id" >' +
//                '<option value="0">'+data[i]+'</option>' +
//                '</select>' +
//                '<input type="submit" value="搜索">'+
//                '</form>'+
//                '</div>'
//        }
//        $('.kkk').html(str);

//    })






</script>


</body>
</html>